curl --request GET \
--url https://api.getmaxim.ai/v1/prompt-partials/versions \
--header 'x-maxim-api-key: <api-key>'{
"data": [
{
"id": "<string>",
"promptPartialId": "<string>",
"version": 123,
"description": "<string>",
"content": "<string>",
"createdById": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}
],
"pagination": {
"hasMore": true,
"cursor": "<string>"
}
}Get versions of a prompt partial
curl --request GET \
--url https://api.getmaxim.ai/v1/prompt-partials/versions \
--header 'x-maxim-api-key: <api-key>'{
"data": [
{
"id": "<string>",
"promptPartialId": "<string>",
"version": 123,
"description": "<string>",
"content": "<string>",
"createdById": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}
],
"pagination": {
"hasMore": true,
"cursor": "<string>"
}
}API key for authentication
Unique identifier for the workspace
Unique identifier for the prompt partial
Maximum number of records to return (max: 100)
x <= 100Unique identifier for the cursor
Was this page helpful?